home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / text0173.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.2 KB  |  34 lines

  1. On 20-Apr-97, Stephen W Williams wrote:
  2.  >a$="workbench:data"
  3. >C$="CD "
  4. >A$=C$+A$
  5. >Open Out 3,"Ram:Datapath"
  6. >Print #3,A$
  7. >Print #3,Chr$(13)
  8. >Close 3
  9.  
  10. First, Amiga uses Chr$(10), not Chr$(13) to terminate a line. Second, AMOS
  11. slaps both to the end of every line when doing things the way you are.
  12.  
  13. A$="WorkBench:Data/"
  14. C$="CD "
  15. C$=C$+A$+Chr$(10)
  16. Open Out 3,"Ram:Datapath"
  17. Print #3,C$;
  18. Close 3
  19.  
  20. Well met and godspeed,
  21.                       Giark
  22.                                            joehick@golden.net
  23.                              http://www.golden.net/~joehick/fbn/index.html
  24.      ______  ______    _____  .------------------------------------------.
  25.     / ____/ / __  /   / ___ \ !     AMOS games, utilities, demos, etc.   !
  26.    / /__   / /_/ /   / /  / / !                                          !
  27.   / ___/  / ___  |  / /  / /  !       CyberSpace BBS (519)579-0072       !
  28.  / /     / /__/ /  / /  / /   !     on A2000 060/50MHz (519)579-0173     !
  29. /_/     /______/  /_/  /_/    !                                          !
  30.    Fly By Nite Videe-Oh!      !  FBN Amiga 500 020 14MHz 1C/5F RAM 3.1OS !
  31.                               `------------------------------------------'
  32.  
  33.  
  34.